namespace Microsoft.ServiceModel.Samples.Discovery.Protocol
{
    using System;
    using System.Xml;
    using System.Xml.Serialization;
    using System.ServiceModel;

    
    [XmlType(Namespace = ProtocolStrings.Namespace)]
    [XmlRoot(ProtocolStrings.ResolveMatchesElement,
        Namespace = ProtocolStrings.Namespace)]
    public class ResolveMatches
    {
        ResolveMatch[] resolveMatchField;
        XmlElement[] anyField;
        XmlAttribute[] anyAttrField;

        [XmlElement(ProtocolStrings.ResolveMatchElement)]
        public ResolveMatch[] Items
        {
            get
            {
                return this.resolveMatchField;
            }
            set
            {
                this.resolveMatchField = value;
            }
        }

        /// <remarks/>
        [XmlAnyElement]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }
    }
}
